#!/usr/bin/python2.6
#
# Copyright 2011 Eric Gavaletz <gavaletz@gmail.com>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.game_window = QtGui.QWidget(MainWindow)
        self.game_window.setObjectName(_fromUtf8("game_window"))
        self.gridLayout_5 = QtGui.QGridLayout(self.game_window)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.game_split = QtGui.QSplitter(self.game_window)
        self.game_split.setOrientation(QtCore.Qt.Vertical)
        self.game_split.setObjectName(_fromUtf8("game_split"))
        self.console_split = QtGui.QSplitter(self.game_split)
        self.console_split.setOrientation(QtCore.Qt.Horizontal)
        self.console_split.setObjectName(_fromUtf8("console_split"))
        self.feedback_area = QtGui.QGroupBox(self.console_split)
        self.feedback_area.setObjectName(_fromUtf8("feedback_area"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.feedback_area)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.feedback_box = QtGui.QTextEdit(self.feedback_area)
        self.feedback_box.setReadOnly(True)
        self.feedback_box.setObjectName(_fromUtf8("feedback_box"))
        self.horizontalLayout_4.addWidget(self.feedback_box)
        self.status_area = QtGui.QGroupBox(self.console_split)
        self.status_area.setObjectName(_fromUtf8("status_area"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.status_area)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.status_box = QtGui.QTextEdit(self.status_area)
        self.status_box.setReadOnly(True)
        self.status_box.setObjectName(_fromUtf8("status_box"))
        self.horizontalLayout_3.addWidget(self.status_box)
        self.command_area = QtGui.QGroupBox(self.game_split)
        self.command_area.setObjectName(_fromUtf8("command_area"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.command_area)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.command_line = QtGui.QLineEdit(self.command_area)
        self.command_line.setObjectName(_fromUtf8("command_line"))
        self.horizontalLayout.addWidget(self.command_line)
        self.submit_button = QtGui.QPushButton(self.command_area)
        self.submit_button.setObjectName(_fromUtf8("submit_button"))
        self.horizontalLayout.addWidget(self.submit_button)
        self.abort_button = QtGui.QPushButton(self.command_area)
        self.abort_button.setObjectName(_fromUtf8("abort_button"))
        self.horizontalLayout.addWidget(self.abort_button)
        self.gridLayout_5.addWidget(self.game_split, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.game_window)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFirst_Hack = QtGui.QMenu(self.menubar)
        self.menuFirst_Hack.setObjectName(_fromUtf8("menuFirst_Hack"))
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        self.menuView = QtGui.QMenu(self.menubar)
        self.menuView.setObjectName(_fromUtf8("menuView"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionShow_Commands = QtGui.QAction(MainWindow)
        self.actionShow_Commands.setCheckable(True)
        self.actionShow_Commands.setChecked(True)
        self.actionShow_Commands.setObjectName(_fromUtf8("actionShow_Commands"))
        self.actionRetire = QtGui.QAction(MainWindow)
        self.actionRetire.setObjectName(_fromUtf8("actionRetire"))
        self.actionKeep_Feedback = QtGui.QAction(MainWindow)
        self.actionKeep_Feedback.setCheckable(True)
        self.actionKeep_Feedback.setObjectName(_fromUtf8("actionKeep_Feedback"))
        self.actionEcho_Commands = QtGui.QAction(MainWindow)
        self.actionEcho_Commands.setCheckable(True)
        self.actionEcho_Commands.setChecked(False)
        self.actionEcho_Commands.setObjectName(_fromUtf8("actionEcho_Commands"))
        self.menuFirst_Hack.addAction(self.actionRetire)
        self.menuView.addAction(self.actionShow_Commands)
        self.menuView.addAction(self.actionKeep_Feedback)
        self.menuView.addAction(self.actionEcho_Commands)
        self.menubar.addAction(self.menuFirst_Hack.menuAction())
        self.menubar.addAction(self.menuView.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.feedback_area.setTitle(QtGui.QApplication.translate("MainWindow", "Feedback", None, QtGui.QApplication.UnicodeUTF8))
        self.feedback_box.setToolTip(QtGui.QApplication.translate("MainWindow", "Feedback from the system", None, QtGui.QApplication.UnicodeUTF8))
        self.status_area.setTitle(QtGui.QApplication.translate("MainWindow", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.status_box.setToolTip(QtGui.QApplication.translate("MainWindow", "Info about your company", None, QtGui.QApplication.UnicodeUTF8))
        self.command_area.setTitle(QtGui.QApplication.translate("MainWindow", "Commands", None, QtGui.QApplication.UnicodeUTF8))
        self.command_line.setToolTip(QtGui.QApplication.translate("MainWindow", "Enter commands here based on feedback received", None, QtGui.QApplication.UnicodeUTF8))
        self.submit_button.setToolTip(QtGui.QApplication.translate("MainWindow", "You know, you can just hit enter right?", None, QtGui.QApplication.UnicodeUTF8))
        self.submit_button.setText(QtGui.QApplication.translate("MainWindow", "Submit", None, QtGui.QApplication.UnicodeUTF8))
        self.abort_button.setToolTip(QtGui.QApplication.translate("MainWindow", "Stop what you are doing!", None, QtGui.QApplication.UnicodeUTF8))
        self.abort_button.setText(QtGui.QApplication.translate("MainWindow", "Abort", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFirst_Hack.setTitle(QtGui.QApplication.translate("MainWindow", "First-Hack", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.menuView.setTitle(QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.actionShow_Commands.setText(QtGui.QApplication.translate("MainWindow", "Show Commands", None, QtGui.QApplication.UnicodeUTF8))
        self.actionRetire.setText(QtGui.QApplication.translate("MainWindow", "Retire", None, QtGui.QApplication.UnicodeUTF8))
        self.actionKeep_Feedback.setText(QtGui.QApplication.translate("MainWindow", "Keep Feedback", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEcho_Commands.setText(QtGui.QApplication.translate("MainWindow", "Echo Commands", None, QtGui.QApplication.UnicodeUTF8))

